<?php
$date = @date("Y.m.d H.i.s");
$con = Connect();
mysql_query("UPDATE user SET TimeStamp = '$date', Online = '0' WHERE ID LIKE '".$_SESSION['ID']."'");
Close($con);
session_destroy();
echo '<meta http-equiv="refresh" content="0; URL=../">';
?>